package com.xzssmk.leisure.x.mapper;

import java.util.List;

import org.apache.ibatis.annotations.Param;

import com.xzssmk.leisure.x.po.CardInventory;
import com.xzssmk.leisure.x.po.CardInventoryExample;

public interface CardInventoryMapper {
    long countByExample(CardInventoryExample example);

    int deleteByExample(CardInventoryExample example);

    int deleteByPrimaryKey(Integer inventoryId);

    int insert(CardInventory record);

    int insertSelective(CardInventory record);

    List<CardInventory> selectByExample(CardInventoryExample example);

    CardInventory selectByPrimaryKey(Integer inventoryId);

    int updateByExampleSelective(@Param("record") CardInventory record, @Param("example") CardInventoryExample example);

    int updateByExample(@Param("record") CardInventory record, @Param("example") CardInventoryExample example);

    int updateByPrimaryKeySelective(CardInventory record);

    int updateByPrimaryKey(CardInventory record);

    CardInventory selectByCardNum(@Param("cardNumber") String cardNumber);

    List<CardInventory> getPageList1(@Param("search") String search, @Param("subSQL") String subSQL);
}